home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / doom / hostage.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1997-05-18  |  2KB  |  68 lines

  1. @echo.
  2. @echo. Installation of HOSTAGE.WAD
  3. @echo.
  4. @echo. Depending on your computer, 
  5. @echo. installation will take a  
  6. @echo. few minutes; be patient.
  7. @echo.
  8. @echo."Now the field of battle is a        
  9. @echo. land of standing corpses; those 
  10. @echo. determined to die will live;         
  11. @echo. those who hope to escape with 
  12. @echo. their lives will die."                    
  13. @echo.
  14. @echo. - Wu Ch'i
  15. @echo.
  16. @echo.
  17. @rem Check main WAD
  18. @if not exist doom2.wad goto miss
  19. @echo @echo. Restoration > restore.bat
  20. @echo doom2.exe -file hostage.wad > play.bat 
  21. @rem
  22. @rem Check for required files
  23. @if not exist hostage.wad goto miss
  24. @if not exist doom2.exe goto miss
  25. @if not exist hostage6.deh goto miss
  26. @if not exist deusf.exe goto miss
  27. @if not exist dehacked.exe goto miss
  28. @rem
  29. @rem Install EXE Patch
  30. @copy doom2.exe doomhack.exe
  31. @echo rm doomhack.exe >> restore.bat
  32. @rem
  33. @dehacked -reload -load hostage6.deh > hacked.log
  34. @if not ERRORLEVEL 0 goto fail 
  35. @rem Modify game command
  36. @echo.
  37. @echo doomhack.exe -file hostage.wad > play.bat 
  38. @echo For multiplayer games, rename doomhack.exe 
  39. @echo to doom2.exe but first rename doom2.exe as
  40. @echo something else. This will be the case if you 
  41. @echo use SETUP, IPXSETUP, SERSETUP or DM 
  42. @rem
  43. @rem Install Sprites or Flats in WAD
  44. @if not exist hostage.wad goto miss
  45. @echo deusf -res hostage.wad >> restore.bat
  46. @echo Completing sprites, please wait...
  47. @deusf -main .\doom2.wad -as hostage.wad> deusf.log
  48. @if not ERRORLEVEL 0 goto fail 
  49. @rem
  50. @rem
  51. @echo Installation completed.
  52. @echo.
  53. @echo type PLAY to launch Hostage Rescue.
  54. @echo type RESTORE to revert Hostage Rescue
  55. @goto end
  56. :fail
  57. @echo. **Installation failed: A tool didn't work.
  58. @echo. See hack.log or deusf.log for details.
  59. @goto end
  60. :miss
  61. @echo. **Installation impossible: some files are missing.
  62. @echo. Make sure that deusf.exe, dehacked.exe, hostage.wad
  63. @echo. and hostage6.deh are in your Doom2 dir. Please copy
  64. @echo. all your files in the main game directory, and try another
  65. @echo. install.
  66. @goto end
  67. :end
  68.